package com.lawliet.example.service.system;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lawliet.example.model.system.SysPermission;
import com.lawliet.example.model.system.vo.PermissionTreeVO;

import java.util.List;

public interface SysPermissionService extends IService<SysPermission> {
    /**
     * 删除权限
     * @param ids 权限集合
     */
    void deleteBach(String ids);

    /**
     * 获取整个权限的菜单树
     * @return
     */
    List<PermissionTreeVO> getTree();

}
